//
//  MainCollectionViewModel.h
//  Stream
//
//  Created by shaw on 16/8/7.
//  Copyright © 2016年 showshaw. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,CollectionType){
    CollectionTypeModule = 0,
    CollectionTypeWeb = 1,
    CollectionTypeAdd
};

@interface MainCollectionViewModel : NSObject
@property (nonatomic,assign) NSInteger ID;
@property (nonatomic,copy) NSString *url;
@property (nonatomic,copy) NSString *iconUrl;
@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *module;
@property (nonatomic,assign)CollectionType type;

-(instancetype)initWithTitle:(NSString*)title url:(NSString*)url iconUrl:(NSString*)iconUrl type:(CollectionType)type module:(NSString*)module ID:(NSInteger)ID;

@end
